<?php
/**
 * Created by PhpStorm.
 * User: longyu
 * Date: 2016/6/2
 * Time: 9:58
 */
$redis=new  Redis();
$redis->connect("localhost");